vulkan: Fix mask shader to premultiply color
authorBenjamin Otte <otte@redhat.com>
Fri, 1 Dec 2017 13:44:09 +0000 (14:44 +0100)
committerBenjamin Otte <otte@redhat.com>
Sat, 2 Dec 2017 15:21:58 +0000 (16:21 +0100)
commit9048d40bc233c1dd110233553e030c2223103ffb
tree64b718a1958be10e79561f5b8f346eb617471889
parentabc8d61730a657dc8640fc8d40c55d8859e74ae6
vulkan: Fix mask shader to premultiply color

The inColor wasn't premultiplied, so the resulting colors were wrong
with translucent borders.
gsk/resources/vulkan/mask-clip-rounded.frag.spv
gsk/resources/vulkan/mask-clip.frag.spv
gsk/resources/vulkan/mask.frag
gsk/resources/vulkan/mask.frag.spv